import { baseRequest } from '@/utils/request'

const request = (url, ...arg) => baseRequest(`/hrms/onboarding/registry/` + url, ...arg)
export default {
	pageList(data) {
		return request('pageList', data, 'post')
	},
	getRegistryInfo(id) {
		return request(`getRegistryInfo/${id}`, null, 'get')
	},
	updateRegistryInfo(id, data) {
		return request(`updateRegistryInfo/${id}`, data, 'post')
	}
}
